/*
 * Copyrignt (c) xuzeshui.com. All Rights Reserved.
 * Author: Zeshui Xu<i@xuzeshui.com>
 * Created Time: 2015-11-20 19:24:41
 * Last Modified: 2017-04-21 21:40:42
 * File Name: errorcode/errorcode.go
 * Description:
 */

package errorcode

const (
	EC_GL_SUCCESS              uint = 0
	EC_GL_INVALID_ACCESS_TOKEN uint = 403001
	EC_GL_INVALID_APPKEY       uint = 403002
	EC_GL_INVALID_IP           uint = 403003
	EC_GL_INVALID_URL_TIME     uint = 403004
	EC_GL_INVALID_URL_SIGN     uint = 403005
	EC_GL_INVALID_HTTPS        uint = 403008

	EC_GL_INVALID_JSON_BODY uint = 404001
	EC_GL_INVALID_URL_PARAM uint = 404002

	EC_GL_INTERNAL_ERROR uint = 503001

	//IP定位
	EC_IP_INVALID_IP                  uint = 21601001
	EC_IP_OVER_BATCH_QUERY_MAX_LENGTH uint = 21601002

	//GEO
	EC_GEO_ADDRESS2LOCATION_ERROR uint = 21602001
	EC_GEO_LOCATION2ADDR_ERROR    uint = 21602002
	EC_GEO_COORD_CONV_ERROR       uint = 21602003
	EC_GEO_GEOADDR_ERROR          uint = 21602004

	//综合定位
	EC_LOCATION_NOT_FOUND uint = 21603001
)
